package com.zt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName payments
 */
@TableName(value ="payments")
@Data
public class Payments implements Serializable {
    private Long id;

    private String paymentNo;

    private Long orderId;

    private Long userId;

    private String paymentMethod;

    private String transactionId;

    private BigDecimal amount;

    private Integer status;

    private Date paymentTime;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}